summaryrefslogtreecommitdiffstats
path: root/src/Generating/PrefabStructure.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Generating/PrefabStructure.h')
-rw-r--r--src/Generating/PrefabStructure.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Generating/PrefabStructure.h b/src/Generating/PrefabStructure.h
index 29a506494..423408396 100644
--- a/src/Generating/PrefabStructure.h
+++ b/src/Generating/PrefabStructure.h
@@ -10,7 +10,7 @@
#pragma once
#include "GridStructGen.h"
-#include "PieceGenerator.h"
+#include "PiecePool.h"
@@ -25,12 +25,10 @@ public:
cPrefabStructure(
int a_GridX, int a_GridZ,
int a_OriginX, int a_OriginZ,
- cPlacedPieces & a_Pieces,
+ cPlacedPieces && a_Pieces,
cTerrainHeightGenPtr a_HeightGen
);
- virtual ~cPrefabStructure();
-
protected:
/** The pieces placed by the generator. */
cPlacedPieces m_Pieces;